﻿using System;

namespace DataLib.Model
{
    /// <summary>
    /// CJO单的详细信息
    /// </summary>
    [Serializable]
    public partial class CJOItem
    {
        #region 实例
        //Load
        private int? _loadnumid;
        private string _loadnumno;
        private int? _addressid;
        private string _rubbarea;
        private string _belongarea;
        private int? _customerid;
        private DateTime _collectdate;
        private string _lgoodsinfo;
        private decimal? _totalweight;
        private decimal? _finishweight;
        private int? _load_status;
        private string _saleman;
        private string _lrubbtype;

        //CJO
        private int? _cjoid;
        private string _cjono;
        private int? _cjostatus;
        private DateTime? _createtime;
        private bool _islocal;
        private string _customername;
        private string _customercode;
        private string _operman;
        private decimal _predictweight;
        private DateTime? _cjocolldate;
        private int? _caddid;
        private string _goodsdesc;
        private string _graphicy;
        private string _belogcity;
        private string _rubbtype;
        private string _cjolinkman;
        private string _cjoaddinfo;
        private string _cjophone;
        private string _istyz;
        private string _cjoremark;

        //vehichlerequir
        private int? _vehichlerequireid;
        private string _workercount;
        private int? _vehiclecount;
        private decimal? _othercost;
        private string _other;
        private string _tools;
        private string _clearingform;
        private decimal? _numberestimate;
        private string _maternrequire;
        private string _samplingrequire;
        private string _peculiarrequire;
        private string _otherrequire;
        private string _othervrequire;

        //virtual
        private decimal? _cjonwt;

        //project相关
        private int? _projectid;
        private string _pronum;
        private string _proname;
        private int? _serverareaid;
        private int? _serverpointid;
        private int? _prorelid;
        private string _serverareaname;
        private string _serverpointname;
        private string _cjocreatemanusername;
        private string _cjocreatemantruename;
        private string _cjoviewmanusername;
        private string _cjoviewmantruename;
        private string _cjoshowmanusername;
        private string _cjoshowmantruename;
        private string _cjopowerusername;
        private string _cjopowertruename;
        private string _sppowertruename;
        private string _sppowerusename;
        private string _sealmanphone;


        #region Load字段
        /// <summary>
        /// loadnumID
        /// </summary>
        public int? loadnumid
        {
            set { _loadnumid = value; }
            get { return _loadnumid; }
        }
        /// <summary>
        /// loadnum号
        /// </summary>
        public string loadnumno
        {
            set { _loadnumno = value; }
            get { return _loadnumno; }
        }

        /// <summary>
        /// 地址ID
        /// </summary>
        public int? Addressid
        {
            set { _addressid = value; }
            get { return _addressid; }
        }

        /// <summary>
        /// 危废处理地（Load单）
        /// </summary>
        public string Rubbarea
        {
            set { _rubbarea = value; }
            get { return _rubbarea; }
        }

        /// <summary>
        /// 归属地(Load单)
        /// </summary>
        public string belongArea
        {
            set { _belongarea = value; }
            get { return _belongarea; }
        }

        /// <summary>
        /// 客户id
        /// </summary>
        public int? customerid
        {
            set { _customerid = value; }
            get { return _customerid; }
        }


        /// <summary>
        /// 收集日期（Load单）
        /// </summary>
        public DateTime collectdate
        {
            set { _collectdate = value; }
            get { return _collectdate; }
        }

        /// <summary>
        /// 货物描述
        /// </summary>
        public string goodsInfo
        {
            set { _lgoodsinfo = value; }
            get { return _lgoodsinfo; }
        }

        /// <summary>
        /// 总重量
        /// </summary>
        public decimal? totalWeight
        {
            set { _totalweight = value; }
            get { return _totalweight; }
        }
        /// <summary>
        /// 入库重量
        /// </summary>
        public decimal? finishWeight
        {
            set { _finishweight = value; }
            get { return _finishweight; }
        }

        /// <summary>
        /// Load单的状态
        /// </summary>
        public int? LoadStatus
        {
            set { _load_status = value; }
            get { return _load_status; }
        }

        /// <summary>
        /// 业务员
        /// </summary>
        public string Saleman
        {
            set { _saleman = value; }
            get { return _saleman; }
        }

        /// <summary>
        /// 危废类型（Load单）
        /// </summary>
        public string LRubbType
        {
            set { _lrubbtype = value; }
            get { return _lrubbtype; }
        }

        #endregion


        #region CJO字段
        /// <summary>
        /// cjo id
        /// </summary>
        public int? cjoid
        {
            set { _cjoid = value; }
            get { return _cjoid; }
        }

        /// <summary>
        /// CJO编号
        /// </summary>
        public string cjono
        {
            set { _cjono = value; }
            get { return _cjono; }
        }

        /// <summary>
        /// CJO单当前状态
        /// </summary>
        public int? status
        {
            set { _cjostatus = value; }
            get { return _cjostatus; }
        }


        /// <summary>
        /// CJO 单创建时间
        /// </summary>
        public DateTime? createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }

        /// <summary>
        /// 本地为True，外地为Flase
        /// </summary>
        public bool islocal
        {
            set { _islocal = value; }
            get { return _islocal; }
        }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string companyname
        {
            set { _customername = value; }
            get { return _customername; }
        }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string customercode
        {
            set { _customercode = value; }
            get { return _customercode; }
        }

        /// <summary>
        /// 操作人员
        /// </summary>
        public string operman
        {
            set { _operman = value; }
            get { return _operman; }
        }


        /// <summary>
        /// cjo预计重量
        /// </summary>
        public decimal predictweight
        {
            set { _predictweight = value; }
            get { return _predictweight; }
        }

        /// <summary>
        /// CJO单的收货日期
        /// </summary>
        public DateTime? CjoColldate
        {
            set { _cjocolldate = value; }
            get { return _cjocolldate; }
        }

        /// <summary>
        /// CJO的收货地址ID
        /// </summary>
        public int? CjoAddId
        {
            set { _caddid = value; }
            get { return _caddid; }
        }

        /// <summary>
        /// 货物描述（CJO单）
        /// </summary>
        public string goodsdesc
        {
            set { _goodsdesc = value; }
            get { return _goodsdesc; }
        }

        /// <summary>
        /// 处理地（CJO单）
        /// </summary>
        public string Graphicy
        {
            set { _graphicy = value; }
            get { return _graphicy; }
        }

        /// <summary>
        /// 归属地（CJO单）
        /// </summary>
        public string Belogcity
        {
            set { _belogcity = value; }
            get { return _belogcity; }
        }

        public string RubbType
        {
            set { _rubbtype = value; }
            get { return _rubbtype; }
        }

        public string cjolinkman
        {
            set { _cjolinkman = value; }
            get { return _cjolinkman; }
        }

        public string cjoaddinfo
        {
            set { _cjoaddinfo = value; }
            get { return _cjoaddinfo; }
        }

        public string cjophone
        {
            set { _cjophone = value; }
            get { return _cjophone; }
        }

       

        #endregion

        #region vehichlerequire字段
        /// <summary>
        /// 收货要求ID
        /// </summary>
        public int? vehichlerequireid
        {
            set { _vehichlerequireid = value; }
            get { return _vehichlerequireid; }
        }


        /// <summary>
        /// 工人数
        /// </summary>
        public string workercount
        {
            set { _workercount = value; }
            get { return _workercount; }

        }

        /// <summary>
        /// 预计收货件数
        /// </summary>
        public int? vehiclecount
        {
            set { _vehiclecount = value; }
            get { return _vehiclecount; }
        }

        /// <summary>
        /// 其他费用
        /// </summary>
        public decimal? othercost
        {
            set { _othercost = value; }
            get { return _othercost; }
        }

        /// <summary>
        /// 车辆要求
        /// </summary>
        public string other
        {
            set { _other = value; }
            get { return _other; }
        }

        /// <summary>
        /// 工具
        /// </summary>
        public string tools
        {
            set { _tools = value; }
            get { return _tools; }
        }

        /// <summary>
        /// 结算方式
        /// </summary>
        public string clearingform
        {
            set { _clearingform = value; }
            get { return _clearingform; }
        }

        /// <summary>
        /// 数量预计
        /// </summary>
        public decimal? numberestimate
        {
            set { _numberestimate = value; }
            get { return _numberestimate; }
        }

        /// <summary>
        /// 物料要求
        /// </summary>
        public string maternrequire
        {
            set { _maternrequire = value; }
            get { return _maternrequire; }
        }

        /// <summary>
        /// 采样要求
        /// </summary>
        public string samplingrequire
        {
            set { _samplingrequire = value; }
            get { return _samplingrequire; }
        }

        /// <summary>
        /// 特殊要求
        /// </summary>
        public string peculiarrequire
        {
            set { _peculiarrequire = value; }
            get { return _peculiarrequire; }
        }

        /// <summary>
        /// 其他要求（收货）
        /// </summary>
        public string OtherVRequire
        {
            set { _othervrequire = value; }
            get { return _othervrequire; }
        }

        /// <summary>
        /// 其他要求（拆解）
        /// </summary>
        public string OthervRequire
        {
            set { _othervrequire = value; }
            get { return _otherrequire; }
        }


        #endregion


        #region Porject相关
        /// <summary>
        /// cjo总重量
        /// </summary>
        public decimal? cjonwt
        {
            set { _cjonwt = value; }
            get { return _cjonwt; }
        }

        /// <summary>
        /// 项目ID
        /// </summary>
        public int? proejctid
        {
            set { _projectid = value; }
            get { return _projectid; }
        }

        /// <summary>
        /// 项目编号
        /// </summary>
        public string pronum
        {
            set { _pronum = value; }
            get { return _pronum; }
        }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string proname
        {
            set { _proname = value; }
            get { return _proname; }
        }

        /// <summary>
        /// 服务区域ID
        /// </summary>
        public int? serverareaid
        {
            set { _serverareaid = value; }
            get { return _serverareaid; }
        }

        /// <summary>
        /// 服务点ID
        /// </summary>
        public int? serverpointid
        {
            set { _serverpointid = value; }
            get { return _serverpointid; }
        }

        /// <summary>
        /// 项目和客户、CJO关联ID
        /// </summary>
        public int? prorelid
        {
            set { _prorelid = value; }
            get { return _prorelid; }
        }

        /// <summary>
        /// 服务区域名称
        /// </summary>
        public string serverareaname
        {
            set { _serverareaname = value; }
            get { return _serverareaname; }
        }

        /// <summary>
        /// 服务点名称
        /// </summary>
        public string serverpointname
        {
            set { _serverpointname = value; }
            get { return _serverpointname; }
        }

        /// <summary>
        /// 开CJO人员工号
        /// </summary>
        public string cjocreatemanusername
        {
            set { _cjocreatemanusername = value; }
            get { return _cjocreatemanusername; }
        }

        /// <summary>
        /// 开CJO人员真实姓名
        /// </summary>
        public string cjocreatemantruename
        {
            set { _cjocreatemantruename = value; }
            get { return _cjocreatemantruename; }
        }

        /// <summary>
        /// CJO查看人员用户名
        /// </summary>
        public string cjoviewmanusername
        {
            set { _cjoviewmanusername = value; }
            get { return _cjoviewmanusername; }
        }

        /// <summary>
        /// CJO查看人员真实姓名
        /// </summary>
        public string cjoviewmantruename
        {
            set { _cjoviewmantruename = value; }
            get { return _cjoviewmantruename; }
        }

        /// <summary>
        /// CJO显示人员用户名
        /// </summary>
        public string cjoshowmanusername
        {
            set { _cjoshowmanusername = value; }
            get { return _cjoshowmanusername; }
        }

        /// <summary>
        /// CJO显示人员真实姓名
        /// </summary>
        public string cjoshowmantruename
        {
            set { _cjoshowmantruename = value; }
            get { return _cjoshowmantruename; }
        }

        /// <summary>
        /// CJO授权人员用户名
        /// </summary>
        public string cjopowerusername
        {
            set { _cjopowerusername = value; }
            get { return _cjopowerusername; }
        }

        /// <summary>
        /// CJO授权人员真实姓名
        /// </summary>
        public string cjopowertruename 
        {
            set { _cjopowertruename = value; }
            get { return _cjopowertruename; }
        }

        /// <summary>
        /// 服务点授权人员真实姓名
        /// </summary>
        public string sppowertruename
        {
            set { _sppowertruename = value; }
            get { return _sppowertruename; }
        }


        /// <summary>
        /// 服务点授权人员工号
        /// </summary>
        public string sppowerusername
        {
            set { _sppowerusename = value; }
            get { return _sppowerusename; }
        }


        /// <summary>
        /// CJO备注
        /// </summary>
        public string cjoremark
        {
            set { _cjoremark = value; }
            get { return _cjoremark; }
        }

        /// <summary>
        /// 是否退运直销
        /// </summary>
        public string istyz
        {
            set { _istyz = value; }
            get { return _istyz; }
        }

        /// <summary>
        /// 业务员电话
        /// </summary>
        public string sealmanphone
        {
            set { _sealmanphone = value; }
            get { return _sealmanphone; }
        }
        #endregion
        #endregion Model



    }
}
